OTDeleteNameByID
Removes a previously registered name as specified by its name ID.C INTERFACE
OSErr OTDeleteNameByID (MapperRef ref, OTNameID id);C++ INTERFACES
TMapper::DeleteName(OTNameID id);PARAMETERS
ref
- A mapper reference.
id
- The name ID, a long specifying a number that identifies the registered name.
DESCRIPTION
If the name-registration protocol defined using theconfig
parameter to theOTOpenMapper
orOTAsyncOpenMapper
function supports dynamic name and address registration, you can use theOTDeleteNameByID
function to delete a registered name.If the mapper is in asynchronous mode, the
OTDeleteNameByID
function returns immediately. When the function completes execution, the mapper provider calls the notifier function, passingT_DELNAMECOMPLETE
for thecode
parameter, and a pointer to theid
parameter in thecookie
parameter.SEE ALSO
The name ID that you delete using theOTDeleteNameByID
function is returned in thereply
parameter to theOTRegisterName
function (page 4-21).You use the
OTOpenMapper
function (page 4-19) orOTAsyncOpenMapper
function (page 4-16) to create a mapper.